import request from '../utils/axiosUtil'
import { UserInfo } from '@/piniastore/userInfo'

class UserApi {
  static api: UserApi = new UserApi()
  login(userInfo: UserInfo) {
    return request.post(`usermodule/login`, false, userInfo)
  }
}

export default UserApi.api
